<template>
	<view>
		<view class="centent">
			<view class="navtop">
				<view class="left">
					<text>个人照片</text>
				</view>
				<view class="right">
					<view class="imgbox">
						<image src="../../static/user.png" mode=""></image>
					</view>
				</view>
			</view>
			<view class="navbottom">

				<view class="textinput">
					<view class="textleft">
						<text>姓名</text>
					</view>
					<view class="textright textright2">
						<input type="text" placeholder="请输入姓名" v-model="myuserlist[0]" />
					</view>
				</view>
				<view class="textinput">
					<view class="textleft">
						<text>电话</text>
					</view>
					<view class="textright">
						<input type="text" placeholder="请输入电话" v-model="myuserlist[1]" />
					</view>
				</view>
				<view class="textinput">
					<view class="textleft">
						<text>身份</text>
					</view>
					<view class="textright">
						<input type="text" placeholder="请输入身份" v-model="myuserlist[2]" />
					</view>
				</view>
			</view>
			<view class="bottombtn">
				<view class="centerbtn">
					<text>保存</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				myuserlist:['李先生','13809044649','爸爸']

			}
		},
		methods: {

		}
	}
</script>

<style lang="less">
	page {
		background-color: #f4f4f4;
		box-sizing: border-box;
	}

	.centent {
		position: relative;
		.navtop {
			width: 100%;
			height: 200rpx;
			background-color: #fff;
			margin: 20rpx 0;
			display: flex;
			justify-content: space-between;
			padding: 20rpx 40rpx;
			box-sizing: border-box;

			.left {
				display: flex;
				justify-content: center;
				align-items: center;
				color: #999;
				font-size: 34rpx;

			}

			.right {
				display: flex;
				justify-content: center;
				align-items: center;

				.imgbox {
					width: 150rpx;
					height: 150rpx;

					image {
						width: 150rpx;
						height: 150rpx;
					}
				}
			}

		}

		.navbottom {
			width: 100%;
			height: 300rpx;
			padding-left: 20rpx;
			box-sizing: border-box;
			background-color: #fff;

			.textinput {
				height: 100rpx;
				display: flex;

				.textleft {
					height: 100%;
					width: 100rpx;
					line-height: 100rpx;
					text-align: center;
					color: #999;
					margin-right: 10rpx;
				}

				.textright {
					height: 100%;
					width: 100%;
					border-top: 2px solid #ccc;

					input {
						padding-left: 30rpx;
						height: 100%;
						line-height: 100rpx;
					}
				}

				.textright2 {
					border: 0;
				}

			}

		}
		.bottombtn{
			position: fixed;
			bottom: 50rpx;
			width: 100%;
			height: 120rpx;
			padding: 20rpx;
			box-sizing: border-box;
			.centerbtn{
				width: 100%;
				height: 100%;				
				background-image: linear-gradient(to right, #0a98f7 , #23c3f3);
				border-radius: 10rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				color: #fff;
				font-size: 34rpx;
			}
			
		}
			
	}
</style>
